﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<AutorizacionViajesMVC.WSRendir.Rendir>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	PokaYoke
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<h2><%: TempData["error"] %></h2>
    <h2>Crear Rendir Cuentas</h2>

    <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>

        <fieldset>
            <legend>Fields</legend>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.CodAU) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.CodAU) %>
                <%: Html.ValidationMessageFor(model => model.CodAU) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.CodEMP) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.CodEMP) %>
                <%: Html.ValidationMessageFor(model => model.CodEMP) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.ESTADOSOL) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.ESTADOSOL) %>
                <%: Html.ValidationMessageFor(model => model.ESTADOSOL) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.Combustible) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Combustible) %>
                <%: Html.ValidationMessageFor(model => model.Combustible) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.Gastos) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Gastos) %>
                <%: Html.ValidationMessageFor(model => model.Gastos) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.Hotel) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Hotel) %>
                <%: Html.ValidationMessageFor(model => model.Hotel) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.IMPAereo) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.IMPAereo) %>
                <%: Html.ValidationMessageFor(model => model.IMPAereo) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.Movilidad) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Movilidad) %>
                <%: Html.ValidationMessageFor(model => model.Movilidad) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.Otros) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Otros) %>
                <%: Html.ValidationMessageFor(model => model.Otros) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.Pasaje) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Pasaje) %>
                <%: Html.ValidationMessageFor(model => model.Pasaje) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.Telefono) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Telefono) %>
                <%: Html.ValidationMessageFor(model => model.Telefono) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.Viaticos) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Viaticos) %>
                <%: Html.ValidationMessageFor(model => model.Viaticos) %>
            </div>
            
            <p>
                <input type="submit" value="Crear Rendir Cuenta" />
            </p>
        </fieldset>

    <% } %>

    <div>
        <%: Html.ActionLink("Regresar a la Lista", "Index") %>
    </div>

</asp:Content>

